﻿<Window x:Class="YSCommander.AboutWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="About" Height="300" Width="300" ShowInTaskbar="False" 
        Loaded="Window_Loaded" Icon="/YSCommander;component/YSCommander.ico" ResizeMode="NoResize">

    <Window.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="Margin" Value="5"/>
        </Style>

        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="Margin" Value="5"/>
        </Style>
    </Window.Resources>

    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>

        <DockPanel Grid.Row="0">
            <Image DockPanel.Dock="Right" Source="/YSCommander;component/YSCommander.ico" Height="36" />
            <TextBlock DockPanel.Dock="Bottom"  Name="textBlockProductName"/>    
        </DockPanel>
        

        <TextBlock Grid.Row="1" Name="textBlockVersion"/>

        <TextBlock Grid.Row="2" Name="textBlockCopyright"/>

        <TextBlock Grid.Row="3" Name="textBlockCompanyName"/>

        <TextBlock Grid.Row="4" HorizontalAlignment="Center"><Hyperlink Name="hyperlinkToSite" Click="hyperlinkToSite_Click" NavigateUri="http://yscommander.codeplex.com/" >http://sourceforge.net/projects/copy4backup/</Hyperlink></TextBlock>

        <TextBlock Grid.Row="5" Name="textBlockDescription"/>

        <Button Grid.Row="6" HorizontalAlignment="Right" Width="50" IsDefault="True" Click="Button_Click">OK</Button>
    </Grid>
</Window>
